package zut.model;

import org.springframework.stereotype.Component;

@Component
public class Lesson {
    private String name;
    private String password;
    private String lessonname;
    private String starttime;
    private String stoptime;
    private String nickname;

    @Override
    public String toString() {
        return "Lesson{" + "name='" + name + '\'' + ", password='" + password + '\'' + ", lessonname='" + lessonname + '\'' + ", starttime='" + starttime + '\'' + ", stoptime='" + stoptime + '\'' + ", nickname='" + nickname + '\'' + '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getLessonname() {
        return lessonname;
    }

    public void setLessonname(String lessonname) {
        this.lessonname = lessonname;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getStoptime() {
        return stoptime;
    }

    public void setStoptime(String stoptime) {
        this.stoptime = stoptime;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
}
